<?
// Example:
//
//    For form:
//      $blocker=new SpamBlocker();
//      $this->additional_tags = $blocker->makeTags();
//
//    For action:
//	$blocker=new SpamBlocker();
// 	$nospam=false;
// 	$nospam=$blocker->checkTags($_POST);
//      $ $this->valid = ! $nospam;

class SpamBlocker extends formSpamBotBlocker {
//==============================================================================================
// PUBLIC VARIABLES AND FUNCTIONS
//==============================================================================================
public $initKey="sdvnqp12345346uoreygo"; // set some string here to make the encoded names and values hard to guess 
public $minutesAfterMidnight=60; // minutes after midnight to allow a submission of a form generated at the previous day
public $minTime=2; // time in seconds needed to have passed, before o form can be submitted, set also by setTimeWindow()
public $maxTime=3600; // max time in seconds to submit a form, set also by setTimeWindow()
public $hasTrap=true; // true: a visually hidden input tag will be generated, set also by setTrap()
public $trapName="email"; // name of the visually hidden input tag, set also by setTrap()
public $trapLabel="Do not enter anything in this text box otherwise your message will not be sent!"; // label info to warn human users, who do not use CSS, set also by setTrap()
public $hasSession=true; // enables a session based method to prevent multiple submissions with the same parameters
}
?>
